/***********************************************************
 *  File_Name  : XJHexString.h
 *  File_Path   : 
 *  File_Encode : UTF8
 *  Description : Hexadecimal <==> AscII Class
 *  
 *  OS : Linux, UNIX,Windows,Other
 *  LastVersion  : 20111122
 *      
 *  Author      : LiXiujie(李秀杰)
 *  Date        : 2011-11-22
 *  Version     : 20111122
 *  Description : 
 *                
 *  Edit Author : 
 *  Edit Date   : 
 *  Version     : 
 *  Description :
 *                
 ***********************************************************/
#ifndef XJHEXSTRING_H_
#define XJHEXSTRING_H_
namespace XJUtilClass{
class XJHexString {
public:
	XJHexString();
	virtual ~XJHexString();
public:
	static bool AscToHex(const unsigned char *szAscStr, const unsigned long nAscStrLen,
			char *szHexStr, unsigned long &nHexStrMaxSizeOrLen);
	static bool HexToAsc(const char *szHexStr, const unsigned long nHexStrLen,
			unsigned char *szAscStr, unsigned long &nAscStrMaxSizeOrLen);
};
typedef class XJHexString XJHS;
} /* namespace XJUtilClass */

#endif /* XJHEXSTRING_H_ */
